#include <stdio.h>
#include "sys_hc32f460.h"
#include "delay.h"
#include "timer0.h"
#include <string.h>
#include <time.h>
#include "usart3.h"
#include "iap.h"
#include "flash.h"

int main(void){
	HC32F460_SYSCLK_Init();
	Delay_Init(100);
	iap_upgrade();
	iap_jump_app();
	while(1){
		Delay_ms(1000);
	}
}